package com.example.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PutMapping;


@FeignClient("seata-storage")
public interface StorageFeign {
    @PutMapping("/modifiedStorage/{productId}/{used}")
    public Boolean modifiedStorage(@PathVariable("productId") Long productId,
                                   @PathVariable("used") int used);
}
